package com.example.elderlycare.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.elderlycare.dao.entity.NursingHome;
import com.example.elderlycare.service.entity.NursingHomeListResponseBody;

public interface NursingHomeService extends IService<NursingHome> {
    /**
     * 根据条件对养老院进行查询
     *
     * @param current      当前页
     * @param pageSize     页大小
     * @param queryWrapper 查询的条件构造器
     * @return NursingHomeListResponseBody
     */
    NursingHomeListResponseBody queryNursingHome(int current, int pageSize, QueryWrapper<NursingHome> queryWrapper);
}
